package com.qidianit.mes.pojo.pro;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qidianit.mes.pojo.SysDictData;
import com.qidianit.mes.pojo.Workstation;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description:
 * @Author: wang fei long
 * @Date: 2025/10/2 0002 - 11:05
 */
@Data
public class ProductionReport {
    private Long id;
    private String productionReportCode;
    private String productionReportName;
    private Integer productionReportType;
    private Double productionReportQuantity;
    private Long workflowProcessId;
    private Long productionOrderId;
    private String workstationCode;
    private Long creatorId;
    private Long updatorId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Integer status;
    private Integer deleteFlag;
    //瞬时属性
    private SysDictData typeDictData;
    private SysDictData statusDictData;
    private Workstation workstation;
    private WorkflowProcess workflowProcess;
    private ProductionOrder productionOrder;
}
